package com.fdq.dianping.service;

import com.fdq.dianping.entity.Result;
import com.fdq.dianping.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fdq
 * @since 2024-12-29
 */
public interface IShopService extends IService<Shop> {

    Result queryById(Long id, HttpServletResponse response);

    Result update(Shop shop);

    Result queryByName(String name);

    Result queryShopByType(Integer typeId, Integer current, Double x, Double y);

    Result queryShopByDistance(Integer current, Double x, Double y);
}
